[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 A_ERROR()
 Report specific error codes from FlexFile's error system
-------------------------------------------------------------------------------

 Syntax

    A_ERROR()   ->    nErrorValue

 Arguments

    None.

 Returns

    A_ERROR() returns a FlexFile error code as a numeric integer.

 Description

    A_ERROR() is an error function that will return the most recent
    error code that FlexFile set. If the failed operation has no
    FlexFile error code check the DOS error code using Clipper's
    DOSERROR().

    For a complete list of error codes and their descriptions
    refer to Appendix B.

 Examples

    // Declare a two dimensional array
    LOCAL aLong
    aLong = A_DECLARE( 'L', 5, 7 )

    // Using A_KILL() on a non-string type array is an error.
    A_KILL( aLong )

    // Show the error code for a type mismatch.
    ? A_ERROR()                   // Result: 2001

See Also: Error Codes
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson